﻿namespace ClassyBlog.Web
{
    using System.Collections.Generic;

    using DomainObjects;

    public class CategorizedPageList : PagedList<Page>
    {
        public CategorizedPageList(
            int? currentPage,
            int total,
            int pageSize,
            IEnumerable<Page> list,
            Category category) : base(currentPage, total, pageSize, list)
        {
            Category = category;
        }

        public Category Category { get; private set; }
    }
}